import { InjectionKey } from "vue";
import { TabData } from "./interface";

export interface TabsContext {
  activeKey: string | number;
  addItem: (id: number, data: TabData) => void;
}

export const tabsInjectionKey: InjectionKey<TabsContext> = Symbol("ArcoTabs");
